import React from 'react';
import axios from 'axios'

class Home extends React.Component {
    componentDidMount() {
        // 测试猫眼项目
        axios({
            url: '/ajax/movieOnInfoList',
            params: {
                token: ''
            }
        }).then(res => {
            console.log("res", res)
        }).catch(err => {
            console.log(err)
        })
    }
    render() {
        return (
            <div style={{ fontSize: '.24rem' }}>home</div>
        )
    }
}
export default Home